package com.qintian.rainstorm;

import java.util.List;
import java.util.Map;
import java.util.UUID;

/**
 * @description: 测试类
 * @author: taoxi
 * @create: 2018-12-06 14:58
 **/
public class Weather {
  private String returnCode;
  private String returnMessage;
  private String rowCount;
  private String colCount;
  private   List<Map<String,Object>> DS;

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public String getReturnMessage() {
        return returnMessage;
    }

    public void setReturnMessage(String returnMessage) {
        this.returnMessage = returnMessage;
    }

    public String getRowCount() {
        return rowCount;
    }

    public void setRowCount(String rowCount) {
        this.rowCount = rowCount;
    }

    public String getColCount() {
        return colCount;
    }

    public void setColCount(String colCount) {
        this.colCount = colCount;
    }

    public List<Map<String, Object>> getDS() {
        return DS;
    }

    public void setDS(List<Map<String, Object>> DS) {
        this.DS = DS;
    }

    public static void main(String[] args) {
        /*SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String endTime = df.format(Calendar.getInstance().getTime());
        Calendar cal=Calendar.getInstance();
        cal.set(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), 0, 0, 0);
        Date beginOfDate = cal.getTime();
        String startTime=df.format(beginOfDate);
        System.out.println(endTime +"=============="+startTime);*/
      /*  String time="2018-12-18 17:27:16";
        System.out.println(time.replace(" ","").substring(10,12));*/
        System.out.println(UUID.randomUUID().toString().replace("-",""));
        /*String filename="abc.abc.txt";
        int dot = filename.lastIndexOf('.');
        if ((dot >-1) && (dot < (filename.length()))) {

            System.out.println(filename.substring(dot));
        }*/

    }
}
